<?php

namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;

class DictionaryRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'Dictionary\Controllers', 'prefix'=>'dictionary'], function ($router) {

            $router->any('unit', 'IndexController@getUnitList');


        });
    }
}